/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Proveedores;

import java.sql.SQLException;
import java.util.Vector;

/**
 *
 * @author alrojas
 */
public class CProveedor {
   
    public CProveedor(){

    }
    
    public static boolean agregar(Proveedor proveedor) throws SQLException, ClassNotFoundException{
        return MProveedor.agregar(proveedor);
    }
    
    public static boolean editar(Proveedor proveedor) throws SQLException, ClassNotFoundException{
        return MProveedor.editar(proveedor);
    }
    
    public static boolean eliminar(int codigo) throws SQLException, ClassNotFoundException{
        return MProveedor.eliminar(codigo);
    }
    
    public static Vector<Vector<String>> dameTodo() throws SQLException, ClassNotFoundException{
        return MProveedor.dameTodo();
    }
    
    public static Proveedor dameUno(int codigo) throws SQLException, ClassNotFoundException{
        return MProveedor.dameUno(codigo);
    }
    
}
